﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="AddProductInfo.aspx.cs"
    Inherits="Admin_AddProductInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加商品</title>
    <script>
        window.onerror = function () {
            return true;
        }
    </script>

    <link href="AdminCSS/style.css" rel="stylesheet" type="text/css" />
    <script src="../ckeditor/ckeditor/ckeditor.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div> 
        商品名称：<asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
        <br />
        商品英文名：<asp:TextBox ID="txtProductEName" runat="server"></asp:TextBox><br />
        商品规格：<asp:TextBox ID="txtProductStyle" runat="server"></asp:TextBox><br />
        商品分类：<asp:DropDownList ID="drpCategory" runat="server">
        </asp:DropDownList>
        <br />
        是否上架：<asp:DropDownList ID="drpIsShelves" runat="server">
            <asp:ListItem Value="1">是</asp:ListItem>
            <asp:ListItem Value="0">否</asp:ListItem>
        </asp:DropDownList>
        <br />
        商品价格：<asp:TextBox ID="txtProductPrice" runat="server"></asp:TextBox>
        <br />
        商品序号：<asp:TextBox ID="txtOrderId" runat="server"></asp:TextBox>
        <br />
         
        <br />
        商品描述：
        <textarea cols="15" rows="15" class="ckeditor" id="txtProductDescription" runat="server"
            name="txtContent">  </textarea>
        <script type="text/javascript" language="javascript">
            var editor = CKEDITOR.replace('txtProductDescription',
		{
		    filebrowserBrowseUrl: '../ckeditor/ckfinder/ckfinder.html',
		    filebrowserImageBrowseUrl: '../ckeditor/ckfinder/ckfinder.html?Type=Images',
		    filebrowserFlashBrowseUrl: '/ckeditor/ckfinder/ckfinder.html?Type=Flash',
		    filebrowserUploadUrl: '../ckeditor/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
		    filebrowserImageUploadUrl: '../ckeditor/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
		    filebrowserFlashUploadUrl: '../ckeditor/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
		}
);
        </script>
        <br />
        <asp:Button ID="btnAdd" runat="server" Text="保存" OnClick="btnAdd_Click" />
    </div>
    </form>
</body>
</html>
